package com.tsunami.base.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lx
 * @date 2024-08-30
 */
@Data
public class BaseQuery implements Serializable {

    @ApiModelProperty(value = "当前页数")
    private Integer pageNum;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize;

    @ApiModelProperty(value = "排序字段")
    private String orderByColumn;

    @ApiModelProperty(value = "排序的方向 'desc' 或者 'asc'.")
    private String isAsc;

    @ApiModelProperty(value = "查询字段",notes = "一般为name或title")
    private String queryString;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;
}
